package main
import "fmt"

func fn1(x int) {
	x = 10
}

func fn2(x *int) {
	*x = 10
}
func main() {
	var a = 1
	fmt.Println(a)				// 1
	fn1(a)
	fmt.Println(a)				// 1
	fn2(&a)
	fmt.Println(a)				// 10
}